/**
 * 家庭成员信息
 */
export interface IFamilyMember {
  id: string;
  name: string;
  idCard: string;
  gender: number;
  genderValue: string;
  birthday: string;
  avatar: string;
  age?: number;
  isDefault?: boolean;
}

/**
 * 获取家庭成员列表响应
 */
export interface IGetFamilyMembersResponse {
  code: string;
  message: string;
  data: IFamilyMember[];
}

/**
 * 添加家庭成员请求
 */
export interface IAddFamilyMemberRequest {
  name: string;
  idCard: string;
  gender: number;
  defaultFlag: number;
}

/**
 * 添加家庭成员响应
 */
export interface IAddFamilyMemberResponse {
  code: string;
  message: string;
  data: IFamilyMember;
}

/**
 * 更新家庭成员请求
 */
export interface IUpdateFamilyMemberRequest {
  id: string;
  name: string;
  idCard: string;
  gender: number;
  defaultFlag: number;
}

/**
 * 更新家庭成员响应
 */
export interface IUpdateFamilyMemberResponse {
  code: string;
  message: string;
  data: IFamilyMember;
}

/**
 * 删除家庭成员响应
 */
export interface IDeleteFamilyMemberResponse {
  code: string;
  message: string;
  data: null;
}